Fill a DataTable

The PersistenceManager class has a method FillDataTable to fill a DataTable:


OleDbCommand cmd;


cmd = new OleDbCommand(String.Format("select * from [{0}] order by [{1}]",

                Employee.TableName,

                Employee.ColumnNames.Employeeid));


DataTable table = PersistenceManager.FillDataTable(cmd);